<?php
echo '<table id="type_count">';
echo '<tr><th>name</th><th>All</th><th>√</th><th>x</th></tr>';
foreach ($mapsInfo as $k=>$map){
    if ($map['count'] != 0){
        echo '<tr><td>'.$map['map_name'].'</td><td> <span id="'.$k.'_count">'.$map['count'].'</span></td><td><span id="'.$k.'_t_count" >'.$map['t'].'</span></td><td><span id="'.$k.'_f_count" >'.$map['f'].'</span></td></p>';    
    }
}
echo '</table>';